import request from '@/utils/request'

// 查询配置值列表
export function listConfigValue(query) {
  return request({
    url: '/third/configValue/list',
    method: 'get',
    params: query
  })
}

// 查询配置值详细
export function getConfigValue(id) {
  return request({
    url: '/third/configValue/' + id,
    method: 'get'
  })
}

// 新增配置值
export function addConfigValue(data) {
  return request({
    url: '/third/configValue',
    method: 'post',
    data: data
  })
}

// 修改配置值
export function updateConfigValue(data) {
  return request({
    url: '/third/configValue',
    method: 'put',
    data: data
  })
}

// 删除配置值
export function delConfigValue(id) {
  return request({
    url: '/third/configValue/' + id,
    method: 'delete'
  })
}
